import { request } from '@gui-pkg/request';

enum Api {
  AllMonitorData = '/api/GIS/ststbprpbQuery',  // 所有站点数据
}

/**
 * @description: getWeatherInfo
 */
const requestOptions = {
  withToken: false,
};
/*const requestOptions = {
  joinParamsToUrl: false,
  withToken: false,
  joinTime: false,
  joinPrefix: true,
  isTransformResponse: false,
};
*/
// 所有站点数据
export function getAllMonitorData(params) {
  return request.post({ url: Api.AllMonitorData, params }, requestOptions);
}
